﻿@ModelType MvcMusicStoreVB.Models.Album
<div class="editor-label">
    @Html.LabelFor(Function(model) model.Genre)
</div>
<div class="editor-field">
    @Html.DropDownList("GenreId", New SelectList(ViewBag.Genres, "GenreId", "Name", Model.GenreId))
</div>
<div class="editor-label">
    @Html.LabelFor(Function(model) model.Artist)
</div>
<div class="editor-field">
    @Html.DropDownList("ArtistId", New SelectList(ViewBag.Artists, "ArtistId", "Name", Model.ArtistId))
</div>
<div class="editor-label">
    @Html.LabelFor(Function(model) model.Title)
</div>
<div class="editor-field">
    @Html.EditorFor(Function(model) model.Title)
    @Html.ValidationMessageFor(Function(model) model.Title)
</div>
<div class="editor-label">
    @Html.LabelFor(Function(model) model.Price)
</div>
<div class="editor-field">
    @Html.EditorFor(Function(model) model.Price)
    @Html.ValidationMessageFor(Function(model) model.Price)
</div>
<div class="editor-label">
    @Html.LabelFor(Function(model) model.AlbumArtUrl)
</div>
<div class="editor-field">
    @Html.EditorFor(Function(model) model.AlbumArtUrl)
    @Html.ValidationMessageFor(Function(model) model.AlbumArtUrl)
</div>
